import React, { Component } from 'react'

export default class NotFound extends Component {
  changePage(url) {
    // console.log(this.props);
    this.props.history.push(url)
  }
  render() {
    return (
      <div>
        <div>您输入的地址有误！</div>
        {/* <hr />
        <button onClick={()=>this.changePage('/')}>返回首页</button>
        <button onClick={()=>this.changePage('/transition1')}>返回Transition1</button>
        <button onClick={()=>this.changePage('/transition2')}>返回Transition2</button>
        <button onClick={()=>this.changePage('/transition3')}>返回Transition3</button> */}
      </div>
    )
  }
}
